package com.f5.management.dao;

import com.f5.management.entity.Warranty;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface WarrantyDAO {
    List<Warranty> list();

    Warranty get(int id);

    void insert(Warranty warranty);

    void update(Warranty warranty);

    void delete(int id);

    int count();
}
